package com.codedancer.campus.manager.service.vo.updateLog;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import java.util.List;
import lombok.Data;

@Data
@ApiModel(value = "更新日志分页Vo")
public class UpdateLogPageVo {

    @ApiModelProperty("uuid")
    private String uuid;

    @ApiModelProperty("版本号")
    private String version;

    @ApiModelProperty("更新内容")
    private List<String> contents;

    @ApiModelProperty("是否置顶")
    private Boolean isTop;

    @ApiModelProperty("是否推送")
    private Boolean isPush;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
